//请求头部导航主题市场商品数据列表
function getThemeData(cb) {
  $.ajax({
    url: 'https://mce.mogucdn.com/jsonp/multiget/3',
    dataType: 'jsonp',
    jsonp: 'callback',
    data: {
      pids: "109499,109520,109731,109753,110549,109779,110547,109757,109793,109795,110563,110546,110544",
      appPlat: "p",
      _: +new Date()
    },
    success(res) {
      cb(res);
    }
  })
}


//请求每日必抢板块商品数据
function getMustRubData() {
  return axios({
    url: '../../static/data/MustRob.json'
  });
}

//获取女装专区
function getWomenWearData() {
  return axios({
    url: '../../static/data/WomenWear.json'
  });
}

//获取女鞋包包数据
function getWomenShoesData() {
  return axios({
    url: '../../static/data/WomenShoes.json'
  });
}
//获取女鞋包包热销数据
function getWomenShoesHotsData() {
  return axios({
    url: '../../static/data/WomenShoesHots.json'
  });
}

//获取男装男鞋数据
function getMaleShoesData() {
  return axios({
    url: '../../static/data/maleshoes.json'
  });
}
//获取男装男鞋热销数据
function getMaleShoesHotsData() {
  return axios({
    url: '../../static/data/maleshoesHots.json'
  });
}
//获取内衣数据
function getUnderwearData() {
  return axios({
    url: '../../static/data/underwear.json'
  });
}
//获取内衣热销数据
function getUnderwearHotsData() {
  return axios({
    url: '../../static/data/underwearHots.json'
  });
}

//获取家纺家饰数据
function gethomedecorationData() {
  return axios({
    url: '../../static/data/homeDecoration.json'
  });
}
//获取家纺家饰热销数据
function gethomedecorationHotsData() {
  return axios({
    url: '../../static/data/homeDecorationHots.json'
  });
}
//获取母婴童装数据
function getkidwearData() {
  return axios({
    url: '../../static/data/kidwear.json'
  });
}
//获取母婴童装热销数据
function getkidwearHotsData() {
  return axios({
    url: '../../static/data/kidwearHots.json'
  });
}

//获取猜你喜欢数据模块
function getGuessYouLike() {
  return axios({
    url: '../../static/data/guessYouLike.json'
  });
}

export {
  getThemeData,
  getMustRubData,
  getWomenWearData,
  getWomenShoesData,
  getWomenShoesHotsData,
  getMaleShoesData,
  getMaleShoesHotsData,
  getUnderwearData,
  getUnderwearHotsData,
  gethomedecorationData,
  gethomedecorationHotsData,
  getkidwearData,
  getkidwearHotsData,
  getGuessYouLike
}